﻿namespace Douyu.SDK.Messages
{
    public class LoginRequest : BaseMessage
    {
        /// <summary>
        /// 登录请求消息
        /// </summary>
        public LoginRequest()
            : base(nameof(MessageType.loginreq), MsgType.ClientToServer)
        {
        }

        /// <summary>
        /// 房间ID
        /// </summary>
        public int roomid
        {
            get { return GetValue(nameof(roomid), 0); }
            set { SetValue(nameof(roomid), value); }
        }
    }
}
